//定义用户的数据类型:interface 和 type
export type User = {
    userId: string,
    username: string,
    password: string,
    nickName: string,
    phone: string,
    sex: string,
    status: string
}
//定义一个列表查询的参数
export type ListParm = {
    currentPage: number,
    pageSize: number,
    nickName: string,

}
export type LoginParm = {
    username: string,
    password: string,

}

export type AssignParm = {
    assId: string,
    userId: string
}
//保存权限的数据类型
export type SaveAssignParm = {
    assId: string,
    list: Array<string>
}
export type UpdateParm = {
    password:string,
    userId:string
    oldPassword:string
    }